package com.salon.modules.oss.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.salon.modules.oss.entity.LocalFile;
import com.salon.modules.oss.vo.LocalFileQueryCriteria;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LocalFileMapper extends BaseMapper<LocalFile> {

    IPage<LocalFile> findAll(@Param("criteria") LocalFileQueryCriteria criteria, Page<Object> page);

    List<LocalFile> findAll(@Param("criteria") LocalFileQueryCriteria criteria);

}
